﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DecisionsFramework
{
    public class ValidationIssue
    {
        private object source;

        private string reason;
        private string details;
        private string referenceProperty;

        public ValidationIssue()
        { }

        public ValidationIssue(object source, string reason)
        {
            this.source = source;
            this.reason = reason;
        }

        public ValidationIssue(object source, string reason, string details)
        {
            this.source = source;
            this.reason = reason;
            this.details = details;
        }

        public object Source
        {
            get { return source; }
            set { source = value; }
        }

        public string Reason
        {
            get { return reason; }
            set { reason = value; }
        }

        public string Details
        {
            get { return details; }
            set { details = value; }
        }

        public string ReferenceProperty
        {
            get { return referenceProperty; }
            set { referenceProperty = value; }
        }

        
    }
}
